package dao;

import entity.Household;

import java.util.List;

/**
 * @author pengrui
 * @version 1.0
 * @date 2021/9/8 18:24
 * @Description 住户管理Dao接口
 */
public interface HouseholdDao {
    public boolean select(Household household);
    public boolean insert(Household household);
    public boolean delete(String name);
    public boolean update(Household household);
    public List<Household> getAllHousehold(int page,int limit);
    public int getCountByHousehold();
    public boolean deleteById(List list);
    public boolean deleteByIds(List list);
}
